package com.ygs.secs.service;

import java.util.List;

import com.ygs.secs.model.Profession;
import org.apache.ibatis.annotations.Param;

public interface ProfessionService {


    int deleteByPrimaryKey(Integer professionid);

    int insert(Profession record);

    int insertSelective(Profession record);

    Profession selectByPrimaryKey(Integer professionid);

    int updateByPrimaryKeySelective(Profession record);

    int updateByPrimaryKey(Profession record);

    int updateBatch(List<Profession> list);

    int updateBatchSelective(List<Profession> list);

    int batchInsert(List<Profession> list);

    int batchDelete(Integer[] professions);

    List<Profession> getAllProfession();

}
